Fontify bitfield declarations properly.
authorAlan Mackenzie <acm@muc.de>
Tue, 26 Jul 2011 19:18:40 +0000 (19:18 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 26 Jul 2011 19:18:40 +0000 (19:18 +0000)
commit3a16643771561bdee08c5a1735ac4345603a69e5
treed58977cbbf3795f702b8f9216bd83f74cae94b8f
parent47171bc6d1ec78f65d53089655003da8dacfc034
Fontify bitfield declarations properly.

cc-langs.el (c-has-bitfields): New lang variable.
(c-symbol-chars): Now exported as a lang variable.
(c-not-primitive-type-keywords): New lang variable.

cc-fonts.el (c-font-lock-declarations): Jump over the QT keyword "more"
to prevent "more slots: ...." being spuriously parsed as a bitfield
declaraion.

cc-engine.el (c-beginning-of-statement-1): Refactor and enhance to handle
bitfield declarations.
(c-punctuation-in): New function.
(c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
declarations properly.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el